#ifndef FACEOBJECT_H
#define FACEOBJECT_H

#include <QObject>
#include <seeta/FaceEngine.h>
#include <opencv.hpp>

using namespace cv;
//人脸数据存储，人脸检测，人脸识别
class FaceObject : public QObject
{
    Q_OBJECT
public:
    explicit FaceObject(QObject *parent = nullptr);
    ~FaceObject();

public slots:
    int face_register(cv::Mat& faceImage);          //人脸注册
    int face_query(cv::Mat& faceImage);             //人脸查询

signals:
    void send_faceid(int64_t faceid);

private:
    seeta::FaceEngine *fengineptr;
};

#endif // FACEOBJECT_H
